package cn.net.csit.platform_cloud.base;

/**
 * @ClassName:
 * @Author:yanwenjuan
 * @Date:2019/4/1117:33
 * @Description:平台数据库字段简单模型
 */
public class PtColumnModel {

    /**
     * 字段名
     */
    private String colName;

    /**
     * 字段类型
     */
    private PtColumnType colType;

    /**
     * 字段长度
     */
    private int colLength;

    public PtColumnModel() {

    }

    public PtColumnModel(String colName, int colLength, PtColumnType colType) {
        super();
        this.colName = colName;
        this.colType = colType;
        this.colLength = colLength;
    }

    public String getColName() {
        return colName;
    }

    public void setColName(String colName) {
        this.colName = colName;
    }

    public PtColumnType getColType() {
        return colType;
    }

    public void setColType(PtColumnType colType) {
        this.colType = colType;
    }

    public int getColLength() {
        return colLength;
    }

    public void setColLength(int colLength) {
        this.colLength = colLength;
    }

}

